﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
//
using BAL.eCorp;
using Core.DAL;

public partial class Administrator_order_process : System.Web.UI.Page
{
    #region Region: Các hàm tự định nghĩa
    /// <summary>
    /// Gán dữ liệu cho GridView
    /// </summary>
    /// <param name="cateid"></param>
    private void GridView_DataBind(int Id = -1)
    {
        if (Id == -1)
        {
            grdB30BizDoc.DataSource = B30BizDocs.GetAll();
            grdB30BizDoc.DataBind();
        }
        else
        {
            B30BizDocs obj = new B30BizDocs();
            obj.Id = Id;
            grdB30BizDoc.DataSource = B30BizDocs.GetByID(obj);
            grdB30BizDoc.DataBind();
        }

    }
    #endregion
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            return;
        }
    }
}